package com.hmyuan.dao;

import java.util.List;

import com.hmyuan.domain.Tag;

public interface TagMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);

	List<Tag> selectList(Tag tag);
	
	List<Tag> selectListWithCount();
	
	List<Tag> selectListByArticleid(Long articleid);
}